#include <stdio.h>
//#pragma pack (16)
struct s1{
	int b;//4字节
	char a;//1字节
	char c;//1字节
	double d;//8字节
	short e;//2
	}S;
int main(){
	printf("int size = %d p = %p\n",sizeof(S.b),&S.b);
	printf("char size = %d p = %p\n",sizeof(S.a),&S.a);
	printf("char size = %d p = %p\n",sizeof(S.c),&S.c);
	printf("short size = %d p = %p\n",sizeof(S.e),&S.e);
	printf("double size = %d p = %p\n",sizeof(S.d),&S.d);
	printf("s1 size = %d \n",sizeof(struct s1));
	return 0;
	}
